package cn.le.enums;

public enum EnumResponseCode {

    SUCCESS(200,"操作成功"),
    FAILED(-1,"操作失败"),
    NOT_AUTH(403,"无操作权限");

    private int code;

    private String msg;

    EnumResponseCode(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

}
